package com.woniuxy.book87.service;

import com.woniuxy.book87.entity.Manager;
import com.woniuxy.book87.mapper.ManagerMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ManagerService {

    @Autowired
    ManagerMapper managerMapper ;
    public Manager login(String name,String pass){
        return managerMapper.selectManagerByNameAndPass(name,pass);
    }


}
